home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tools / vim / src / msdos.h < prev    next >
C/C++ Source or Header  |  1995-03-09  |  1KB  |  66 lines

  1. /* vi:ts=4:sw=4
  2.  *
  3.  * VIM - Vi IMproved        by Bram Moolenaar
  4.  *
  5.  * Read the file "credits.txt" for a list of people who contributed.
  6.  * Read the file "uganda.txt" for copying and usage conditions.
  7.  */
  8.  
  9. /*
  10.  * MSDOS Machine-dependent things.
  11.  */
  12.  
  13. /*
  14.  * Names for the EXRC, HELP and temporary files.
  15.  * Some of these may have been defined in the makefile.
  16.  */
  17.  
  18. #ifndef SYSVIMRC_FILE
  19. # define SYSVIMRC_FILE    "$VIM\\_vimrc"
  20. #endif
  21.  
  22. #ifndef SYSEXRC_FILE
  23. # define SYSEXRC_FILE    "$VIM\\_exrc"
  24. #endif
  25.  
  26. #ifndef VIMRC_FILE
  27. # define VIMRC_FILE        "_vimrc"
  28. #endif
  29.  
  30. #ifndef EXRC_FILE
  31. # define EXRC_FILE        "_exrc"
  32. #endif
  33.  
  34. #ifndef VIM_HLP
  35. # define VIM_HLP        "$VIM\\vim.hlp"
  36. #endif
  37.  
  38. #ifndef DEF_DIR
  39. # define DEF_DIR        "c:\\tmp"
  40. #endif
  41.  
  42. #define TMPNAME1        "viXXXXXX"        /* put it in current dir */
  43. #define TMPNAME2        "voXXXXXX"        /*  is there a better place? */
  44. #define TMPNAMELEN        10
  45.  
  46. #ifndef MAXMEM
  47. # define MAXMEM            256                /* use up to 256Kbyte for buffer */
  48. #endif
  49. #ifndef MAXMEMTOT
  50. # define MAXMEMTOT        0                /* decide in set_init */
  51. #endif
  52.  
  53. #define BASENAMELEN        8                /* length of base of file name */
  54.  
  55. /*
  56.  * MSDOS Machine-dependent routines.
  57.  */
  58.  
  59. #ifdef remove
  60. # undef remove                   /* MSDOS remove()s when not readonly */
  61. #endif
  62. #define remove vim_remove
  63.  
  64. /* use chdir() that also changes the default drive */
  65. #define chdir vim_chdir
  66.